package com.zheng.shop.rpc.api;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.zheng.common.base.BaseServiceMock;
import com.zheng.shop.common.exception.ShopException;
import com.zheng.shop.dao.mapper.ShopSkuMapper;
import com.zheng.shop.dao.model.ShopProduct;
import com.zheng.shop.dao.model.ShopSku;
import com.zheng.shop.dao.model.ShopSkuAttribute;

import java.util.List;
import java.util.Map;

/**
* 降级实现ShopSkuService接口
* Created by shuzheng on 2017/11/7.
*/
public class ShopSkuServiceMock extends BaseServiceMock<ShopSkuMapper, ShopSku> implements ShopSkuService {
    @Override
    public boolean createSku(ShopSku sku){
        return false;
    }

    @Override
    public int createSkuList(List<ShopSku> skuList) throws ShopException {
        return 0;
    }

    @Override
    public boolean createSku(JSONObject skuJson, ShopProduct product) throws ShopException {
        return false;
    }

    @Override
    public int createSkuList(JSONObject param, ShopProduct product) throws ShopException {
        return 0;
    }

    @Override
    public boolean updateSku(ShopSku sku) throws Exception {
        return false;
    }

    @Override
    public int updateSkuList(JSONObject param, ShopProduct product) throws ShopException {
        return 0;
    }

    @Override
    public boolean deleteSkuList(List<Integer> idList) throws ShopException {
        return false;
    }

    @Override
    public List<Map<String, Object>> selectSkuAttributeList(Integer skuId) {
        return null;
    }

    @Override
    public List<Map<String, Object>> selectSkuMapList(Integer productId, Integer status) {
        return null;
    }
}
